﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Focus.ascx.cs" Inherits="Controls_Focus" %>
<div id="featPosts">
    <div id="postsSmall">
        <h3 class="title dark">
            Các bài viết Nên Xem</h3>
        <ul class="pagination">
            <asp:Repeater ID="rpt" runat="server">
                <ItemTemplate>
                    <li><a href="<%#UrlBuilder.GetNewsDetail(Eval("TextId").ToString()) %>" class="">
                        <%#Eval("Title") %>
                       <%-- <p class="postmetadata">
                            <%#FormatString.DateTimeToString(Eval("ModifiedDate").ToString()) %>
                        </p>--%>
                    </a></li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
    <!-- end #postsSmall -->
    <div id="postsBig">
        <ul class="slides">
            <asp:Repeater ID="rpt2" runat="server">
                <ItemTemplate>
                    <li style="display: none;"><a href="<%#UrlBuilder.GetNewsDetail(Eval("TextId").ToString()) %>"
                        rel="bookmark" title="<%#Eval("Title") %>">
                        <img src="<%#UrlBuilder.GetImage(Eval("ImageUrl").ToString(),420,220) %>" alt=" <%#Eval("Title") %>"
                            width="420" height="220"></a>
                        <div class="shadow">
                            <a href="<%#UrlBuilder.GetNewsDetail(Eval("TextId").ToString()) %>" rel="bookmark"
                                title=" <%#Eval("Title") %>">
                                <img src="/images/x.gif" width="420" height="114" alt=""></a></div>
                        <div class="featContent">
                            <h2>
                                <a href="<%#UrlBuilder.GetNewsDetail(Eval("TextId").ToString()) %>" title=" <%#Eval("Title") %>">
                                    <%#Eval("Title") %></a></h2>
                            <p class="postmetadata">
                                 <%#FormatString.DateTimeToString(Eval("ModifiedDate").ToString()) %> - <a href="/category/phat-hoc/hoi-dap-phat-hoc" title="View all posts in Hỏi Đáp Phật Học"
                                    rel="category tag">Hỏi Đáp Phật Học</a>
                            </p>
                            <p>
                                <%#Eval("Summary") %></p>
                        </div>
                    </li>
                </ItemTemplate>
            </asp:Repeater>
            <div class="clear">
            </div>
        </ul>
    </div>
    <!-- end #featPostsBig -->
    <div class="clear">
    </div>
</div>
